<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>CUTLASS: tensor_fill.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="cutlass-logo-small.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">CUTLASS
   </div>
   <div id="projectbrief">CUDA Templates for Linear Algebra Subroutines and Solvers</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_4eeb864c4eec08c7d6b9d3b0352cfdde.html">tools</a></li><li class="navelem"><a class="el" href="dir_88de82f9e8d739a2f42f92d95f0d7933.html">util</a></li><li class="navelem"><a class="el" href="dir_7e9e609009df72bf6226de354e72c328.html">include</a></li><li class="navelem"><a class="el" href="dir_ade2f6ff57439d30f4164e14e54bcf30.html">cutlass</a></li><li class="navelem"><a class="el" href="dir_ff60863f958a43c892071bb1f8a4c81a.html">util</a></li><li class="navelem"><a class="el" href="dir_01de8928c960cafb028e5f164701e1de.html">reference</a></li><li class="navelem"><a class="el" href="dir_ebbbb6f6f10686db77ac27d0af6d8201.html">device</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#namespaces">Namespaces</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">device/tensor_fill.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;utility&gt;</code><br />
<code>#include &lt;cstdlib&gt;</code><br />
<code>#include &lt;cmath&gt;</code><br />
<code>#include &lt;type_traits&gt;</code><br />
<code>#include &lt;cstdint&gt;</code><br />
<code>#include &lt;cublas_v2.h&gt;</code><br />
<code>#include &lt;curand_kernel.h&gt;</code><br />
<code>#include &quot;<a class="el" href="cutlass_8h_source.html">cutlass/cutlass.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="array_8h_source.html">cutlass/array.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="tensor__view_8h_source.html">cutlass/tensor_view.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="device_2tensor__foreach_8h_source.html">cutlass/util/reference/device/tensor_foreach.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="distribution_8h_source.html">cutlass/util/distribution.h</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for device/tensor_fill.h:</div>
<div class="dyncontent">
<div class="center"><img src="device_2tensor__fill_8h__incl.png" border="0" usemap="#tensor__fill_8h" alt=""/></div>
<map name="tensor__fill_8h" id="tensor__fill_8h">
</map>
</div>
</div>
<p><a href="device_2tensor__fill_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1reference_1_1device_1_1detail_1_1RandomGaussianFunc.html">cutlass::reference::device::detail::RandomGaussianFunc&lt; Element &gt;</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1reference_1_1device_1_1detail_1_1RandomGaussianFunc_1_1Params.html">cutlass::reference::device::detail::RandomGaussianFunc&lt; Element &gt;::Params</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parameters structure.  <a href="structcutlass_1_1reference_1_1device_1_1detail_1_1RandomGaussianFunc_1_1Params.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1reference_1_1device_1_1detail_1_1TensorFillRandomGaussianFunc.html">cutlass::reference::device::detail::TensorFillRandomGaussianFunc&lt; Element, Layout &gt;</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes a random Gaussian distribution.  <a href="structcutlass_1_1reference_1_1device_1_1detail_1_1TensorFillRandomGaussianFunc.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1reference_1_1device_1_1detail_1_1TensorFillRandomGaussianFunc_1_1Params.html">cutlass::reference::device::detail::TensorFillRandomGaussianFunc&lt; Element, Layout &gt;::Params</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parameters structure.  <a href="structcutlass_1_1reference_1_1device_1_1detail_1_1TensorFillRandomGaussianFunc_1_1Params.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1reference_1_1device_1_1detail_1_1RandomUniformFunc.html">cutlass::reference::device::detail::RandomUniformFunc&lt; Element &gt;</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes a random Gaussian distribution.  <a href="structcutlass_1_1reference_1_1device_1_1detail_1_1RandomUniformFunc.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1reference_1_1device_1_1detail_1_1RandomUniformFunc_1_1Params.html">cutlass::reference::device::detail::RandomUniformFunc&lt; Element &gt;::Params</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parameters structure.  <a href="structcutlass_1_1reference_1_1device_1_1detail_1_1RandomUniformFunc_1_1Params.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1reference_1_1device_1_1detail_1_1TensorFillRandomUniformFunc.html">cutlass::reference::device::detail::TensorFillRandomUniformFunc&lt; Element, Layout &gt;</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes a random Gaussian distribution.  <a href="structcutlass_1_1reference_1_1device_1_1detail_1_1TensorFillRandomUniformFunc.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1reference_1_1device_1_1detail_1_1TensorFillRandomUniformFunc_1_1Params.html">cutlass::reference::device::detail::TensorFillRandomUniformFunc&lt; Element, Layout &gt;::Params</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parameters structure.  <a href="structcutlass_1_1reference_1_1device_1_1detail_1_1TensorFillRandomUniformFunc_1_1Params.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1reference_1_1device_1_1detail_1_1TensorFillDiagonalFunc.html">cutlass::reference::device::detail::TensorFillDiagonalFunc&lt; Element, Layout &gt;</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes a random Gaussian distribution.  <a href="structcutlass_1_1reference_1_1device_1_1detail_1_1TensorFillDiagonalFunc.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1reference_1_1device_1_1detail_1_1TensorFillDiagonalFunc_1_1Params.html">cutlass::reference::device::detail::TensorFillDiagonalFunc&lt; Element, Layout &gt;::Params</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parameters structure.  <a href="structcutlass_1_1reference_1_1device_1_1detail_1_1TensorFillDiagonalFunc_1_1Params.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1reference_1_1device_1_1detail_1_1TensorUpdateDiagonalFunc.html">cutlass::reference::device::detail::TensorUpdateDiagonalFunc&lt; Element, Layout &gt;</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes a random Gaussian distribution.  <a href="structcutlass_1_1reference_1_1device_1_1detail_1_1TensorUpdateDiagonalFunc.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1reference_1_1device_1_1detail_1_1TensorUpdateDiagonalFunc_1_1Params.html">cutlass::reference::device::detail::TensorUpdateDiagonalFunc&lt; Element, Layout &gt;::Params</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parameters structure.  <a href="structcutlass_1_1reference_1_1device_1_1detail_1_1TensorUpdateDiagonalFunc_1_1Params.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1reference_1_1device_1_1detail_1_1TensorUpdateOffDiagonalFunc.html">cutlass::reference::device::detail::TensorUpdateOffDiagonalFunc&lt; Element, Layout &gt;</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes a random Gaussian distribution.  <a href="structcutlass_1_1reference_1_1device_1_1detail_1_1TensorUpdateOffDiagonalFunc.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1reference_1_1device_1_1detail_1_1TensorUpdateOffDiagonalFunc_1_1Params.html">cutlass::reference::device::detail::TensorUpdateOffDiagonalFunc&lt; Element, Layout &gt;::Params</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parameters structure.  <a href="structcutlass_1_1reference_1_1device_1_1detail_1_1TensorUpdateOffDiagonalFunc_1_1Params.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1reference_1_1device_1_1detail_1_1TensorFillLinearFunc.html">cutlass::reference::device::detail::TensorFillLinearFunc&lt; Element, Layout &gt;</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes a random Gaussian distribution.  <a href="structcutlass_1_1reference_1_1device_1_1detail_1_1TensorFillLinearFunc.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1reference_1_1device_1_1detail_1_1TensorFillLinearFunc_1_1Params.html">cutlass::reference::device::detail::TensorFillLinearFunc&lt; Element, Layout &gt;::Params</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parameters structure.  <a href="structcutlass_1_1reference_1_1device_1_1detail_1_1TensorFillLinearFunc_1_1Params.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1reference_1_1device_1_1detail_1_1TensorCopyDiagonalInFunc.html">cutlass::reference::device::detail::TensorCopyDiagonalInFunc&lt; Element, Layout &gt;</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes a random Gaussian distribution.  <a href="structcutlass_1_1reference_1_1device_1_1detail_1_1TensorCopyDiagonalInFunc.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1reference_1_1device_1_1detail_1_1TensorCopyDiagonalInFunc_1_1Params.html">cutlass::reference::device::detail::TensorCopyDiagonalInFunc&lt; Element, Layout &gt;::Params</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parameters structure.  <a href="structcutlass_1_1reference_1_1device_1_1detail_1_1TensorCopyDiagonalInFunc_1_1Params.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1reference_1_1device_1_1detail_1_1TensorCopyDiagonalOutFunc.html">cutlass::reference::device::detail::TensorCopyDiagonalOutFunc&lt; Element, Layout &gt;</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes a random Gaussian distribution.  <a href="structcutlass_1_1reference_1_1device_1_1detail_1_1TensorCopyDiagonalOutFunc.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcutlass_1_1reference_1_1device_1_1detail_1_1TensorCopyDiagonalOutFunc_1_1Params.html">cutlass::reference::device::detail::TensorCopyDiagonalOutFunc&lt; Element, Layout &gt;::Params</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parameters structure.  <a href="structcutlass_1_1reference_1_1device_1_1detail_1_1TensorCopyDiagonalOutFunc_1_1Params.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespacecutlass"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacecutlass.html">cutlass</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:namespacecutlass_1_1reference"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacecutlass_1_1reference.html">cutlass::reference</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:namespacecutlass_1_1reference_1_1device"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacecutlass_1_1reference_1_1device.html">cutlass::reference::device</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:namespacecutlass_1_1reference_1_1device_1_1detail"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacecutlass_1_1reference_1_1device_1_1detail.html">cutlass::reference::device::detail</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:aad6bb03250c194b0492e95836ff0670f"><td class="memTemplParams" colspan="2">template&lt;typename FloatType &gt; </td></tr>
<tr class="memitem:aad6bb03250c194b0492e95836ff0670f"><td class="memTemplItemLeft" align="right" valign="top">CUTLASS_DEVICE FloatType&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacecutlass_1_1reference_1_1device_1_1detail.html#aad6bb03250c194b0492e95836ff0670f">cutlass::reference::device::detail::random_normal_float</a> (curandState_t *state)</td></tr>
<tr class="separator:aad6bb03250c194b0492e95836ff0670f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a01407aef17bb71937749d54212a4e1dc"><td class="memTemplParams" colspan="2">template&lt;&gt; </td></tr>
<tr class="memitem:a01407aef17bb71937749d54212a4e1dc"><td class="memTemplItemLeft" align="right" valign="top">CUTLASS_DEVICE double&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacecutlass_1_1reference_1_1device_1_1detail.html#a01407aef17bb71937749d54212a4e1dc">cutlass::reference::device::detail::random_normal_float&lt; double &gt;</a> (curandState_t *state)</td></tr>
<tr class="separator:a01407aef17bb71937749d54212a4e1dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51f1d0adae831ce5ec07dfbfb36b6408"><td class="memTemplParams" colspan="2">template&lt;typename FloatType &gt; </td></tr>
<tr class="memitem:a51f1d0adae831ce5ec07dfbfb36b6408"><td class="memTemplItemLeft" align="right" valign="top">CUTLASS_DEVICE FloatType&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacecutlass_1_1reference_1_1device_1_1detail.html#a51f1d0adae831ce5ec07dfbfb36b6408">cutlass::reference::device::detail::random_uniform_float</a> (curandState_t *state)</td></tr>
<tr class="separator:a51f1d0adae831ce5ec07dfbfb36b6408"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a205da4816550538f0589fde5a43d34e8"><td class="memTemplParams" colspan="2">template&lt;&gt; </td></tr>
<tr class="memitem:a205da4816550538f0589fde5a43d34e8"><td class="memTemplItemLeft" align="right" valign="top">CUTLASS_DEVICE double&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacecutlass_1_1reference_1_1device_1_1detail.html#a205da4816550538f0589fde5a43d34e8">cutlass::reference::device::detail::random_uniform_float&lt; double &gt;</a> (curandState_t *state)</td></tr>
<tr class="separator:a205da4816550538f0589fde5a43d34e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad71c8103c1f6a2d46a9ba6877844a69a"><td class="memTemplParams" colspan="2">template&lt;typename Element , typename Layout &gt; </td></tr>
<tr class="memitem:ad71c8103c1f6a2d46a9ba6877844a69a"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacecutlass_1_1reference_1_1device.html#ad71c8103c1f6a2d46a9ba6877844a69a">cutlass::reference::device::TensorFillRandomGaussian</a> (TensorView&lt; Element, Layout &gt; view, uint64_t seed, Element mean=Element(0), Element stddev=Element(1), int bits=-1)</td></tr>
<tr class="memdesc:ad71c8103c1f6a2d46a9ba6877844a69a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills a tensor with random values with a Gaussian distribution.  <a href="namespacecutlass_1_1reference_1_1device.html#ad71c8103c1f6a2d46a9ba6877844a69a">More...</a><br /></td></tr>
<tr class="separator:ad71c8103c1f6a2d46a9ba6877844a69a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a478e311bfbe901d167090032b6c28732"><td class="memTemplParams" colspan="2">template&lt;typename Element &gt; </td></tr>
<tr class="memitem:a478e311bfbe901d167090032b6c28732"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacecutlass_1_1reference_1_1device.html#a478e311bfbe901d167090032b6c28732">cutlass::reference::device::BlockFillRandomGaussian</a> (Element *ptr, size_t capacity, uint64_t seed, Element mean=Element(0), Element stddev=Element(1), int bits=-1)</td></tr>
<tr class="memdesc:a478e311bfbe901d167090032b6c28732"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills a tensor with random values with a Gaussian distribution.  <a href="namespacecutlass_1_1reference_1_1device.html#a478e311bfbe901d167090032b6c28732">More...</a><br /></td></tr>
<tr class="separator:a478e311bfbe901d167090032b6c28732"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a448cf6f610939c95615ab66d7ca18b4c"><td class="memTemplParams" colspan="2">template&lt;typename Element , typename Layout &gt; </td></tr>
<tr class="memitem:a448cf6f610939c95615ab66d7ca18b4c"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacecutlass_1_1reference_1_1device.html#a448cf6f610939c95615ab66d7ca18b4c">cutlass::reference::device::TensorFillRandomUniform</a> (TensorView&lt; Element, Layout &gt; view, uint64_t seed, Element max=Element(1), Element min=Element(0), int bits=-1)</td></tr>
<tr class="memdesc:a448cf6f610939c95615ab66d7ca18b4c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills a tensor with random values with a uniform random distribution.  <a href="namespacecutlass_1_1reference_1_1device.html#a448cf6f610939c95615ab66d7ca18b4c">More...</a><br /></td></tr>
<tr class="separator:a448cf6f610939c95615ab66d7ca18b4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f7f618350cf975e261a4ee758650c66"><td class="memTemplParams" colspan="2">template&lt;typename Element &gt; </td></tr>
<tr class="memitem:a6f7f618350cf975e261a4ee758650c66"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacecutlass_1_1reference_1_1device.html#a6f7f618350cf975e261a4ee758650c66">cutlass::reference::device::BlockFillRandomUniform</a> (Element *ptr, size_t capacity, uint64_t seed, Element max=Element(1), Element min=Element(0), int bits=-1)</td></tr>
<tr class="memdesc:a6f7f618350cf975e261a4ee758650c66"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills a tensor with random values with a uniform random distribution.  <a href="namespacecutlass_1_1reference_1_1device.html#a6f7f618350cf975e261a4ee758650c66">More...</a><br /></td></tr>
<tr class="separator:a6f7f618350cf975e261a4ee758650c66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee20536c8ac0a5adcbb162c76eb89c00"><td class="memTemplParams" colspan="2">template&lt;typename Element , typename Layout &gt; </td></tr>
<tr class="memitem:aee20536c8ac0a5adcbb162c76eb89c00"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacecutlass_1_1reference_1_1device.html#aee20536c8ac0a5adcbb162c76eb89c00">cutlass::reference::device::TensorFillDiagonal</a> (TensorView&lt; Element, Layout &gt; view, Element diag=Element(1), Element other=Element(0))</td></tr>
<tr class="memdesc:aee20536c8ac0a5adcbb162c76eb89c00"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills a tensor everywhere with a unique value for its diagonal.  <a href="namespacecutlass_1_1reference_1_1device.html#aee20536c8ac0a5adcbb162c76eb89c00">More...</a><br /></td></tr>
<tr class="separator:aee20536c8ac0a5adcbb162c76eb89c00"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e23d479ebb3760d5846ed1b67e450e4"><td class="memTemplParams" colspan="2">template&lt;typename Element , typename Layout &gt; </td></tr>
<tr class="memitem:a6e23d479ebb3760d5846ed1b67e450e4"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacecutlass_1_1reference_1_1device.html#a6e23d479ebb3760d5846ed1b67e450e4">cutlass::reference::device::TensorFill</a> (TensorView&lt; Element, Layout &gt; view, Element val=Element(0))</td></tr>
<tr class="memdesc:a6e23d479ebb3760d5846ed1b67e450e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills a tensor with a uniform value.  <a href="namespacecutlass_1_1reference_1_1device.html#a6e23d479ebb3760d5846ed1b67e450e4">More...</a><br /></td></tr>
<tr class="separator:a6e23d479ebb3760d5846ed1b67e450e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b0f21995c4fd5c33617550e6905c78e"><td class="memTemplParams" colspan="2">template&lt;typename Element , typename Layout &gt; </td></tr>
<tr class="memitem:a6b0f21995c4fd5c33617550e6905c78e"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacecutlass_1_1reference_1_1device.html#a6b0f21995c4fd5c33617550e6905c78e">cutlass::reference::device::TensorFillIdentity</a> (TensorView&lt; Element, Layout &gt; view)</td></tr>
<tr class="memdesc:a6b0f21995c4fd5c33617550e6905c78e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills a tensor's diagonal with 1 and 0 everywhere else.  <a href="namespacecutlass_1_1reference_1_1device.html#a6b0f21995c4fd5c33617550e6905c78e">More...</a><br /></td></tr>
<tr class="separator:a6b0f21995c4fd5c33617550e6905c78e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaff3d7919a2f2dce14eb254c17eead9a"><td class="memTemplParams" colspan="2">template&lt;typename Element , typename Layout &gt; </td></tr>
<tr class="memitem:aaff3d7919a2f2dce14eb254c17eead9a"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacecutlass_1_1reference_1_1device.html#aaff3d7919a2f2dce14eb254c17eead9a">cutlass::reference::device::TensorUpdateDiagonal</a> (TensorView&lt; Element, Layout &gt; view, Element diag=Element(1))</td></tr>
<tr class="memdesc:aaff3d7919a2f2dce14eb254c17eead9a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes a uniform value to the diagonal of a tensor without modifying off-diagonal elements.  <a href="namespacecutlass_1_1reference_1_1device.html#aaff3d7919a2f2dce14eb254c17eead9a">More...</a><br /></td></tr>
<tr class="separator:aaff3d7919a2f2dce14eb254c17eead9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ab743402a5664eb255b08efd0da3481"><td class="memTemplParams" colspan="2">template&lt;typename Element , typename Layout &gt; </td></tr>
<tr class="memitem:a8ab743402a5664eb255b08efd0da3481"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacecutlass_1_1reference_1_1device.html#a8ab743402a5664eb255b08efd0da3481">cutlass::reference::device::TensorUpdateOffDiagonal</a> (TensorView&lt; Element, Layout &gt; view, Element other=Element(1))</td></tr>
<tr class="memdesc:a8ab743402a5664eb255b08efd0da3481"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes a uniform value to all elements in the tensor without modifying diagonal elements.  <a href="namespacecutlass_1_1reference_1_1device.html#a8ab743402a5664eb255b08efd0da3481">More...</a><br /></td></tr>
<tr class="separator:a8ab743402a5664eb255b08efd0da3481"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a37816633b87bce34515e31fa5c2709fa"><td class="memTemplParams" colspan="2">template&lt;typename Element , typename Layout &gt; </td></tr>
<tr class="memitem:a37816633b87bce34515e31fa5c2709fa"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacecutlass_1_1reference_1_1device.html#a37816633b87bce34515e31fa5c2709fa">cutlass::reference::device::TensorFillLinear</a> (TensorView&lt; Element, Layout &gt; view, Array&lt; Element, Layout::kRank &gt; const &amp;v, Element s=Element(0))</td></tr>
<tr class="memdesc:a37816633b87bce34515e31fa5c2709fa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills tensor with a linear combination of its coordinate and another vector.  <a href="namespacecutlass_1_1reference_1_1device.html#a37816633b87bce34515e31fa5c2709fa">More...</a><br /></td></tr>
<tr class="separator:a37816633b87bce34515e31fa5c2709fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2cf3ac0ae77e672e2af80f4820434cbe"><td class="memTemplParams" colspan="2">template&lt;typename Element &gt; </td></tr>
<tr class="memitem:a2cf3ac0ae77e672e2af80f4820434cbe"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacecutlass_1_1reference_1_1device.html#a2cf3ac0ae77e672e2af80f4820434cbe">cutlass::reference::device::BlockFillSequential</a> (Element *ptr, int64_t capacity, Element v=Element(1), Element s=Element(0))</td></tr>
<tr class="memdesc:a2cf3ac0ae77e672e2af80f4820434cbe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills a block of data with sequential elements.  <a href="namespacecutlass_1_1reference_1_1device.html#a2cf3ac0ae77e672e2af80f4820434cbe">More...</a><br /></td></tr>
<tr class="separator:a2cf3ac0ae77e672e2af80f4820434cbe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6b21c6d90a1bb3f10dffd0a4adb644a"><td class="memTemplParams" colspan="2">template&lt;typename Element &gt; </td></tr>
<tr class="memitem:af6b21c6d90a1bb3f10dffd0a4adb644a"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacecutlass_1_1reference_1_1device.html#af6b21c6d90a1bb3f10dffd0a4adb644a">cutlass::reference::device::BlockFillRandom</a> (Element *ptr, size_t capacity, uint64_t seed, Distribution dist)</td></tr>
<tr class="memdesc:af6b21c6d90a1bb3f10dffd0a4adb644a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills a block of data with sequential elements.  <a href="namespacecutlass_1_1reference_1_1device.html#af6b21c6d90a1bb3f10dffd0a4adb644a">More...</a><br /></td></tr>
<tr class="separator:af6b21c6d90a1bb3f10dffd0a4adb644a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d11dd00b1bdaa15fdb96345c5ac613a"><td class="memTemplParams" colspan="2">template&lt;typename Element , typename Layout &gt; </td></tr>
<tr class="memitem:a3d11dd00b1bdaa15fdb96345c5ac613a"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacecutlass_1_1reference_1_1device.html#a3d11dd00b1bdaa15fdb96345c5ac613a">cutlass::reference::device::TensorCopyDiagonalIn</a> (TensorView&lt; Element, Layout &gt; view, Element const *ptr)</td></tr>
<tr class="memdesc:a3d11dd00b1bdaa15fdb96345c5ac613a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copies a diagonal in from host memory without modifying off-diagonal elements.  <a href="namespacecutlass_1_1reference_1_1device.html#a3d11dd00b1bdaa15fdb96345c5ac613a">More...</a><br /></td></tr>
<tr class="separator:a3d11dd00b1bdaa15fdb96345c5ac613a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a299cab22dca6be5ddf6ff62e23566a24"><td class="memTemplParams" colspan="2">template&lt;typename Element , typename Layout &gt; </td></tr>
<tr class="memitem:a299cab22dca6be5ddf6ff62e23566a24"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacecutlass_1_1reference_1_1device.html#a299cab22dca6be5ddf6ff62e23566a24">cutlass::reference::device::TensorCopyDiagonalOut</a> (Element *ptr, TensorView&lt; Element, Layout &gt; view)</td></tr>
<tr class="memdesc:a299cab22dca6be5ddf6ff62e23566a24"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copies the diagonal of a tensor into a dense buffer in host memory.  <a href="namespacecutlass_1_1reference_1_1device.html#a299cab22dca6be5ddf6ff62e23566a24">More...</a><br /></td></tr>
<tr class="separator:a299cab22dca6be5ddf6ff62e23566a24"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
